﻿using System;

namespace ProjScan.GUIExtensions
{
	// Token: 0x02000318 RID: 792
	public abstract class TableEntry : IComparable
	{
		// Token: 0x0600129D RID: 4765
		public abstract void DrawEntry(float width, float height);

		// Token: 0x17000397 RID: 919
		// (get) Token: 0x0600129E RID: 4766
		public abstract string comparingValue { get; }

		// Token: 0x0600129F RID: 4767 RVA: 0x000589A8 File Offset: 0x00056BA8
		public virtual int CompareTo(object other)
		{
			TableEntry tableEntry = (TableEntry)other;
			bool flag = tableEntry == null;
			int result;
			if (flag)
			{
				result = 1;
			}
			else
			{
				result = this.comparingValue.CompareTo(tableEntry.comparingValue);
			}
			return result;
		}
	}
}
